package helper

type classify interface {
	string | int | int8 | int16 | int32 | int64 | float32 | float64
}

func InArray[T classify](data []T, value T) bool {
	for k := range data {
		if data[k] == value {
			return true
		}
	}
	return false
}
